package com.atguigu.jxc.controller;

import com.atguigu.jxc.entity.GoodsType;
import com.atguigu.jxc.service.GoodsInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/*请求URL：http://localhost:8080/goodsType/loadGoodsType
        请求参数：无
        请求方式：POST
        返回值类型：JSON
        返回值：String
        Response Example Value：*/

//@RequestMapping("/goodsType")
//@RestController
public class GoodsInfoController {
   /* @Autowired
    private GoodsInfoService goodsInfoService;
    @PostMapping("/loadGoodsType")
    public String loadGoodsType(){
        return goodsInfoService.SelecetLoadGoodsType().toString();

        }*/

}
